package com.guigu.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.guigu.pojo.SysUsers;

import java.util.List;

/**
 * <p>
 * 后台员工表 服务类
 * </p>
 *
 * @author Mr.Zhang
 * @since 2025-03-12
 */
public interface SysUsersService extends IService<SysUsers> {
    SysUsers login(String loginName, String password);

    List<SysUsers> getUserList(SysUsers queryParams); // 增加获取用户列表的方法

    int addUser(SysUsers sysUsers); //新增用户

    int updateUser(SysUsers sysUsers);  //修改用户

    int deleteUserById(Integer userId);
    int deleteUsersByIds(List<Integer> userIds);
}
